package com.itheima.demo1_面向对象封装复习.p04构造方法;

public class Student {
    //成员变量
     String name;
     int age;

    public Student() {
    }

    public Student(String name, int age) {
        this.name = name;
        this.age = age;
    }


    public void show(){
        System.out.println(name+","+age);
    }
}
